﻿<%@ Page Title="企业产品列表" Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.RelationQuery.ProductList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">企业产品列表</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                产品名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                规格型号：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutLook" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                材质：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                        <tr>
                            <td align="right">
                                最小计量单位：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                投标企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompany_TB" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                生产企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProduceCompany_SC" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                项目：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlProject" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                &nbsp;添加时间：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtAddTimeFrom" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                    Width="62px"></asp:TextBox>
                                -<asp:TextBox ID="txtAddTimeTo" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                    Width="62px"></asp:TextBox>
                            </td>
                        </tr>
                        <%--<td align="right">
                                产品类别：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProductType" runat="server"></asp:TextBox>
                            </td>--%>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" onclick="btnQuery_Click1" />
                    <hz:HzLinkButton ID="lbnSwitch" runat="server" CommandArgument="simple" Text="高级查询"
                        onclick="lbnSwitch_Click">
                    </hz:HzLinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
            <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
            <asp:BoundField DataField="PackUnit" HeaderText="包装单位" />
            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <%--<asp:BoundField DataField="SortName" HeaderText="产品分类" >
                <HeaderStyle Width="55px" />
            </asp:BoundField>--%>
            <asp:BoundField DataField="ProcurePrice" HeaderText="采购限价" DataFormatString="{0:N4}">
                <HeaderStyle Width="55px" />
            </asp:BoundField>
            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标企业" Visible="False" />
            <asp:BoundField DataField="ProjectName" HeaderText="项目" />
            <asp:BoundField Visible="false" DataField="AddTime" HeaderText="添加时间" DataFormatString="{0:yyyy-MM-dd}" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <hz:HzLinkButton ID="HzButton2" runat="server" OnClientClick='<%# GetURLScript("ProductCompany.aspx?PID="+Eval("ProcureCatalogID"))%>'
                        CausesValidation="false" Text='<img src="../../lib/images/setting.gif" align="middle" alt="" >配送企业' />
                </ItemTemplate>
                <HeaderStyle Width="140px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:pan> </span></li>
        </ul>
    </div>
</asp:Content>
